Skip to content

Archive Mode: Add new PR title and body for archive mode#118

Merged
natalialuzuriaga merged 2 commits intodevfrom
DSACMS/nat/archive-pr-body
Feb 18, 2026
Merged

Archive Mode: Add new PR title and body for archive mode#118
natalialuzuriaga merged 2 commits intodevfrom
DSACMS/nat/archive-pr-body

Conversation

@natalialuzuriaga
Copy link
Copy Markdown
Contributor

@natalialuzuriaga natalialuzuriaga commented Feb 17, 2026

Problem

For archive mode, we would like to use a separate PR body with instructions on reviewing the code.json in preparation for archiving the repository

Solution

Updated sendPR function with generating a PR specific for archive mode:

  • Update code.json for archival as PR title
  • Uses archival PR body
  • 'archived` as label

Result

If archive mode is true, then the PR with the information above will be created.
If archive mode is false, then generates a regular "add code.json" PR.

Test Plan

Did testing in the test repository using this branch

Workflow file here: https://github.com/DSACMS/testing-repository/blob/main/.github/workflows/updateArchiveCodeJSON.yml

PRs generated:

Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
@natalialuzuriaga natalialuzuriaga changed the title Archive Mode: Add new PR body for archive mode Archive Mode: Add new PR title and body for archive mode Feb 17, 2026
@natalialuzuriaga natalialuzuriaga self-assigned this Feb 17, 2026
@natalialuzuriaga natalialuzuriaga added the enhancement New feature or request label Feb 17, 2026
Copy link
Copy Markdown

@decause-gov decause-gov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So long as @sachin-panayil is +1, LGTM +1 🚢

Copy link
Copy Markdown
Collaborator

@sachin-panayil sachin-panayil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! im changing the base to dev since thats our working branch and main is our official release branch

@sachin-panayil sachin-panayil changed the base branch from main to dev February 18, 2026 19:06
Signed-off-by: Natalia Luzuriaga <natalia.luzuriaga@cms.hhs.gov>
@natalialuzuriaga natalialuzuriaga merged commit fb8cf0d into dev Feb 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants